package com.tao.content.domain.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author taohongrun
 * @since 2024-10-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("teachplan_media")
@Schema(description="TeachplanMedia对象")
public class TeachplanMedia implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "媒资文件id")
    private String mediaId;

    @Schema(description = "课程计划标识")
    private Long teachplanId;

    @Schema(description = "课程标识")
    private Long courseId;

    @Schema(description = "媒资文件原始名称")
    private String mediaFileName;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createDate;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建人")
    private String createPeople;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @Schema(description = "修改人")
    private String changePeople;


}
